package com.kefu.admin.modules.tgqmdj.service;

import com.kefu.admin.modules.tgqmdj.model.Menu;
import com.kefu.admin.modules.tgqmdj.model.TreeMenu;
import com.kefu.admin.modules.tgqmdj.model.TreeMenuList;

import java.util.List;
/**
 * Created by TWD on 2018/10/17.
 */
public interface MenuService {

	List<Menu> queryMenu(Integer status);
	
	List<TreeMenuList> selectMenu();
	
	Menu queryMenuIdByMenuName(String menuName);
	
	List<Menu> queryMenuName(Integer status);
	
	List<TreeMenu> queryTreeMenu();
	
	int insertMenu(Menu menu);
	
	Menu queryMenuById(Long menuId);
	
	int updataMenuById(Menu menu);
	
	int deleteMenuById(Long menuId);
}
